package java_1_10.animal;
public class Animal {
    public String name;
    public Animal(String name){
        this.name=name;
    }
     void eat(String food){
        System.out.println("动物"+this.name+"正在吃"+food);
    }
}
